package com.zk.shop.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 留言类
 */
public class Msg implements Serializable {
    //留言ID
    private int msgId;
    private String conTent; //留言内容
    private Date msgTime;   //留言时间
    private Goods goods;    //商品
    private User user;      //用户
    private List<Reply> replyList;

    public Msg() {
    }

    public Msg(int msgId, String conTent, Date msgTime, Goods goods, User user, List<Reply> replyList) {
        this.msgId = msgId;
        this.conTent = conTent;
        this.msgTime = msgTime;
        this.goods = goods;
        this.user = user;
        this.replyList = replyList;
    }

    public List<Reply> getReplyList() {
        return replyList;
    }

    public void setReplyList(List<Reply> replyList) {
        this.replyList = replyList;
    }

    public int getMsgId() {
        return msgId;
    }

    public void setMsgId(int msgId) {
        this.msgId = msgId;
    }

    public String getConTent() {
        return conTent;
    }

    public void setConTent(String conTent) {
        this.conTent = conTent;
    }

    public Date getMsgTime() {
        return msgTime;
    }

    public void setMsgTime(Date msgTime) {
        this.msgTime = msgTime;
    }

    public Goods getGoods() {
        return goods;
    }

    public void setGoods(Goods goods) {
        this.goods = goods;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }


}
